<?php
/**
 * Created by PhpStorm.
 * User: au
 * Date: 18-6-22
 * Time: 下午4:52
 */


namespace App\Validators;

trait BaseValidatorTrait
{
    public function addRules($key, array $rule)
    {
        $this->rules[$key] = $rule;
    }
}